const mutations = {
    setUserInfo(state, userInfo) {
        state.userInfo = userInfo;
        localStorage.setItem("userInfo", userInfo);
    },
    setUserKey(state, userKey) {
        state.userKey = userKey;
        localStorage.setItem("userKey", userKey);
    },
    setMemberId(state, memberId) {
        state.memberId = memberId;
        localStorage.setItem("memberId", memberId);
    },
    setMemberAvatar(state, memberAvatar) {
        state.memberAvatar = memberAvatar;
        localStorage.setItem("memberAvatar", memberAvatar);
    },
    setMemberName(state, memberName) {
        state.memberName = memberName;
        localStorage.setItem("memberName", memberName);
    },
};
export default mutations;
